Day two (19 October 2015 ) we are Preparing for pre Fab academy .In our Laptops and Lab Computers installed by latest Ubuntu Desktop LTS (currently 14.04)
Francisco recommended that each student uses an A4 paper notebook with no detachable sheets. Do not use sheets. Reason is that you will lose the sheet
What to write down
• Date
• Machine used
• Material (thickness, type, color…)
• Settings (speeds, feed rates...)
• Results (what worked, what didn’t)
• Debugging
First backup important data and files to USB or Cloud
Install latest Ubuntu
For installing Ubuntu formatted one of my drives and prepared the drive. It was a 100 Gb drive and deleted the partition. Started Installation using a bootable pen drive containing Ubuntu Desktop LTS (currently 14.04). Using the disk management tool created on 50 Gb partition for root and 40 Gb for home and allocated the remaining for Swap a
With the Ubuntu Software Center, you just open it from the Launcher, and search for the application that you want. If you know the right commands to install via terminal, then you'd just press Ctrl + Alt + T on your keyboard to open Terminal. When it opens, you can run the command(s) needed to install the application
We first installing software via APT you'll need to update it's database of available packages firstthen
open the terminal window and type
apt-get update
Then Installing a package
apt-get install name-of-package
First install with the following command
sudo apt-get install intltool
Use the following command to compile the program
Make
After this command finishes, the program is successfully compiled — but it’s not installed. Use the following command to install it to your system
sudo make install
Open new terminal window and enter the code
Code for that
$ sudo apt-get install nautilus-open-terminal
Thent
$ sudo nautilus –q
After that when we restarted nautilus and right clicked we had that open in terminal option.
To install Fab Modules Compiled version, Franc shared this URL http://kokompe.cba.mit.edu/
Procedures to install fab modules ,
Download Fab Modules.zip from the link. http://kokompe.cba.mit.edu/fab_src.zip Unzip the downloaded file Install the dependencies using this single code
$ sudo apt get install python python-wxgtk2.8 python-dev python-pip gcc g++ libpng12-dev libgif-dev make bash okular libboost-thread-dev libboost-system-dev cmake
Then
$ fab
Now open a new window
1. Install QT.
Download Qt from here and right click on the downloaded file and set permision to run as executable file. Then double click on the file and continue the install
2.Run the following code
Run the following code in terminal to install other reqiured dependencies
$ sudo apt-get install build-essential libpng-dev python3-dev libboost-all-dev libgl1-mesa-dev lemon flex
3. 14.04 ships with gcc 4.8
You'll need to update the compiler manually
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
Then
sudo apt-get update
Then
sudo apt-get install gcc-4.9 g++-4.9
Then
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9
4. Clone the Github repo to your pc
$ git clone https://github.com/mkeeter/antimony
5. Change Directory
$ cd antimony
6.Make Directory Build
$ mkdir build
7. Change Dirctory Build
$ cd build
8.If you installed another version of Qt change the link appropriately
I renamed the folder in home to Qt and version i installed is 5.5
$ ~/Qt/5.5/gcc_64/bin/qmake ../sb.pro
9. Make
$ make -j8
10. Install App
$ sudo make install
11. Open App
$ ./app/antimony
Download zip from this link http://kokompe.cba.mit.edu/.
Unzip the folder Open folder in terminal follow the codes
Code for that
$ make fab
Then
$ cd bin
Then
$ ./kokopelli -r